<?php
namespace Admin\Controller;
use Think\Controller;
	class CommonController extends Controller{
		Public function _initialize(){
   		// 初始化的时候检查用户权限
   			if(!isset($_SESSION['is_login']) || $_SESSION['is_login']=='' || $_SESSION['is_login']==0){
				$this->redirect('Login/login');
			}
		}
	}
?>
